Start KAS Simulator

The KAS Simulator is launched from within the KAS IDEClosed "Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger. Click on the KAS Simulatorbutton in the toolbar.

Clicking the button will perform the following:

  1. Change the KAS project to use KAS Simulator.
  2. Launch the KAS Simulator.

    • Each version of KAS IDE has a matching version of Simulator which it will open. Only one instance of KAS Simulator may be run at a time.

  3. Connect the KAS IDE to the KAS Simulator.

The first time KAS Simulator is run it will attempt to open some TCP/IP ports to allow communication. Your system's firewall will detect this and prompt for an action. Allow the KAS Simulator to open the ports by selecting Unblock (Windows XP) or Allow Access (Windows 7).

Figure 5-67: Firewall alert dialog.


  • Simulator normally uses port 80 for the web server. If another service is using port 80, then Simulator will automatically assign a free port available to the webserver to listen to the incoming HTTP requests. The port number assigned for the Simulator web server will be displayed in the status bar.

    • If an alternate port is assigned to the web server in the Simulator for HTTP communication, then the HTTP URL should also include the port number to access the web server. For example, in the above image the web server is listening to port 52526. To connect to the Simulator from the web browser use the URL:   http://127.0.0.1:52526
    • Depending on the applications running on the host computer, the alternate port may vary every time the simulator is started.

 


  • Only one instance of Simulator may be used at a time, but multiple instances of the KAS IDE may be used with the Simulator. A simple rule to remember is whatever instance in connected to Simulator, owns Simulator.